<?php
class TagOwner extends Portlet
{
	public $owner;
	
	public function init()
	{
		$this->htmlOptions = array('class'=>'section');
		//$this->contentCssClass = 'section';
		parent::init();
	}
	
	protected function renderContent()
	{
		echo CHtml::tag('h3',array(),Yii::t('default','owner'));
		echo CHtml::openTag('div',array('class'=>'over-hidden'));
		echo CHtml::tag('div',array('class'=>'float-left'));
		$image = CHtml::image('https://adbyme-w.s3.amazonaws.com/thumbs/User/5213.48x48.crop.png',null,array('style'=>'width: 48px; height: 48px;'));
		echo CHtml::link($image,Yii::app()->createUrl('copy/slogans',array('owner'=>$this->owner)),array('class'=>'profile_image'));
		echo CHtml::closeTag('div');
		echo CHtml::tag('div', array('class'=>'float-left'),CHtml::tag('p',array(),$this->owner));
		echo CHtml::closeTag('div');
	}
}